<?php 
	include view_chemin('ActionsDeCommunication/v_tableDetailAction','php');
?>
<div class="boutons">
	<ul>
	<?php 
	if(isset($afficherBouton))
	{
		if($afficherBouton == 'Desinscription')
		{
			echo'<li><a href="'.base_url().'index.php/ActionsDeCommunication/desinscription/'.$action->getId().'"><button type="button">
			Se désinscrire</button></a></li>';
		}
		else if($afficherBouton == 'Inscription')
		{
			echo'<li><a href="'.base_url().'index.php/ActionsDeCommunication/inscription/'.$action->getId().'"><button type="button">
			S\'inscrire</button></a></li>';
		}
	}
	if(isset($afficherBoutonAdmin))
	{
		echo'<li><a href="'.base_url().'index.php/Administration/exporterAction/'.$action->getId().'"><button type="button">
		Exporter</button></a></li>';
		if($afficherBoutonAdmin == 'Administration')
			echo '<li><a href="'.base_url().'index.php/Administration/creerForum/'.$action->getId().'"><button type="button">
			Ajouter un '.show($action->getTitre()).'</button></a></li>
			<li><a href="'.base_url().'index.php/Administration/modifierAction/'.$action->getId().'"><button type="button">
			Modifier</button></a></li>
			<li><a href="'.base_url().'index.php/Administration/supprimerAction/'.$action->getId().'"><button type="button">
			Supprimer</button></a></li>';
		elseif($afficherBoutonAdmin == 'A noter')
		echo'<li><a href="'.base_url().'index.php/Administration/noterAction/'.$action->getId().'"><button type="button">
		Noter</button></a></li>';

		if(isset($afficherBoutonGenererPDF) && $afficherBoutonGenererPDF)
				echo 	'
							<li>
								<a href="'.base_url().'index.php/GenerationPDF/ficheAction/'.$action->getId().'">
									<button>Générer PDF</button>
								</a>
							</li>
						';
	}
		echo'<li><a href="'.base_url().'index.php/ActionsDeCommunication/voirActions"><button type="button">Retour</button></a></li>';
	?></ul>
</div>

<?php 
if($liste)
	include view_chemin('LundisInfo/v_tableLundiInfo','php');		
?>